home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 95.lightwave-07 / 000699_owner-lightwav…bcom.webcom.com_Sun Jul 30 10:31:23 1995.msg < prev    next >
Internet Message Format  |  1995-08-06  |  5KB

  1. Received: by webcom.webcom.com
  2.     (1.37.109.15/16.2) id AA040435483; Sun, 30 Jul 1995 10:31:23 -0700
  3. Return-Path: <owner-lightwave@webcom.webcom.com>
  4. Received: from spider.usa1.com by webcom.webcom.com with ESMTP
  5.     (1.37.109.15/16.2) id AA040325474; Sun, 30 Jul 1995 10:31:14 -0700
  6. Received: from [204.33.9.68] (dwkm68.usa1.com [204.33.9.68]) by spider.usa1.com (8.6.12/8.6.9) with SMTP id NAA32123 for <lightwave@webcom.com>; Sun, 30 Jul 1995 13:23:03 -0400
  7. Message-Id: <v01510101ac416f0eaf1d@[204.33.9.52]>
  8. Mime-Version: 1.0
  9. Content-Type: text/plain; charset="us-ascii"
  10. Date: Sun, 30 Jul 1995 13:20:32 -0400
  11. To: lightwave@webcom.webcom.com
  12. From: graphics@usa1.com (Sean Moyer)
  13. Subject: Those Darn Lens Burns
  14. Sender: owner-lightwave@webcom.webcom.com
  15. Precedence: bulk
  16.  
  17. With all the mailer problems at webcom,  I'm not sure this one got through
  18. So here we go again - A Lens Burn Solution
  19.  
  20. (Also liked the Blurred Partcle/Lensflare trail solution)
  21.  
  22. >On Mon, 24 Jul 1995, Mads Storm Andersen wrote:
  23.  
  24. >>Lens burns, it's the effect you get if a light source is VERY bright and
  25. >>you move the camera(Or light) you will get a streak of "burned" light on
  26. >>the iris of the camera...
  27.  
  28. >That makes sense... I've no idea how that would be created tho... I don't
  29. >even think it's posible to do in lightwave... But I hope I'm wrong on this
  30. >one.
  31.  
  32. *******
  33.  
  34. Alright already. Lets get this sorted out once and for all. This may be a
  35. little sketchy, but the proccess should be sound.
  36.  
  37. 1) Render the scene as normal, with your point source moving across the screen
  38.  
  39. 2) save the path of the light (this is assuming one source for simplicity)
  40. and save the path of the camera
  41.  
  42. 3) In modeler, use path extrude to make a tube along the path, the diameter
  43. of which will be the width of your burn.
  44.  
  45. 4) in layout (in a new scene), give the tube the color you want the burn to
  46. be, make it somewhat transparent (50% ?) and turn on transparent edges.
  47.  
  48. 5) Use your initial render as an Bg Image sequence.
  49.  
  50. 6) Assign a point light to the original light path and offset it so that it
  51. moves parallel to the tube, just in front of it (no lens flare). Give it a
  52. little bit of falloff so there's a definite hotspot on the tube as the
  53. light moves
  54.  
  55. 7) Here's the tricky part :-)
  56. You need to make a poloygon that will sit in front of the camera and will
  57. cover an area bout twice the size of the screen. This polygon will be
  58. between the camera and the tube. Apply a front projection map of your BG
  59. image seqence to the color, make it 100% luminous, 0% diffuse.
  60.  
  61. 8) To make this whole crazy thing work, the big polygon needs a
  62. transparency map on it, a vertical stripe of transparency that is as wide
  63. as the lens burn is long. You'll need to make it in a paint program, and it
  64. needs to be ramped as such:
  65.  
  66. assume your light is moving across the screen right to left and assume the
  67. line below is the length of the burn
  68.  
  69. ____________________________________________________________
  70.  0                   10
  71. 100
  72.  
  73. black at zero            white at 10                         black at 100
  74.  
  75.  
  76. depending on how long you want the burn, the stripe should probably not be
  77. more than 5-6% of the width of your transparency map.
  78.  
  79. To make life a little easier, load the transparency map as a modeler BG
  80. Image, import the Big polygon & size the image to fit the polygon, then on
  81. each edge of the white stripe, make a row of points to act as a marker in
  82. layout. Export it back layout, and assign the image as a planar map in
  83. layout.
  84.  
  85. 9) Almost there! The 10 mark on your transparency map needs to follow the
  86. light so that it is always sitting over the light exactly. You can probably
  87. load the lights motion path and tweak it to work.
  88.  
  89. 10) Remember the camera motion path you saved from the original scene? Load
  90. it back in for the camera here. In a sense, you are doing a
  91. motion-controlled beauty pass for the lens burn. The front projection map
  92. mattes out the part of the burn object (tube) you don't want to see, and
  93. viola! lens burns.
  94.  
  95. A couple of disclaimers:
  96.  
  97. This is a thought experiment, I have not tried this. Proceed at your own
  98. risk! All numbers are theorectical
  99.  
  100. I sit in front of Alias machines all day (still waiting for LW SGI, Xaos!)
  101. so if some of the terminology is incorrect, please forgive me, no machine
  102. here for refernce (my Amiga's are at home)
  103.  
  104. Sorry this turned into LW: The Novel. Remember this next time you think
  105. about saying..."I don't think that's possible on Lightwave." (!!)
  106.  
  107. Sean Moyer
  108. Lightwave Knight Errant
  109. Chedd-Angier Prod. Co,
  110. Boston MA
  111.  
  112. See you all at SIGGRAPH!
  113.  
  114.  
  115.  
  116. --
  117. graphics@usa1.com (Sean Moyer) sent this message.
  118. To Post a Message           : lightwave@webcom.com
  119. Un/Subscription Requests To : lightwave-request@webcom.com
  120. (DIGEST)                 or : lightwave-digest-request@webcom.com
  121. Administrative Items To     : owner-lightwave@webcom.com